package cn.ytxy.ivos.dict.mapper;


import cn.ytxy.ivos.dict.pojo.dto.DictQuery;
import cn.ytxy.ivos.dict.pojo.entity.Dict;
import cn.ytxy.ivos.dict.pojo.vo.DictVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName DictMapper
 * @Description TODO
 * @Author renhong~Deng
 * @Date 2025/5/11 16:28
 * @Version 1.0
 */

@Repository
public interface DictMapper {
    List<DictVO> select(DictQuery dictQuery);

    void insert(Dict dict);

    void update(Dict dict);

    void deleteById(Long id);

    List<DictVO> selectDictByCode(DictQuery dictQuery);

    Integer selectDictCount(DictQuery dictQuery);

    List<DictVO> selectDict(DictQuery dict);
}
